*Code for reproducing results in: Murillo, M. Victoria and Pablo M. Pinto. 2021. Heeding to the Losers: Legislators’ Trade Policy Preferences and Legislative Behavior. Legislative Studies Quarterly.

use "LSQ Murillo Pinto.dta", clear

*Table 1
probit trade_strong mcomp price production, cluster(province)
probit trade_strong mcomp price production FPV_bloque college, cluster(province)
probit trade_strong mcomp price production FPV_bloque college soy_planted vote125dum, cluster(province)
probit trade_strong mcomp##price mcomp##production FPV_bloque college, cluster(province)
probit trade_strong mcomp##price mcomp##production FPV_bloque college soy_planted vote125dum district_magnitude, cluster(province)
probit trade_strong mcomp##price mcomp##production ideology, cluster(province)

*Table 2
probit trade_strong price production soy_planted pctg_output_manuf, cluster(province)
probit trade_strong price##c.pctg_output_manuf production##c.pctg_output_manuf price##c.soy_planted production##c.soy_planted, cluster(province)

*Table 3
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque mcomp, ro
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque soy_planted, ro
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque mcomp soy_planted, ro
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque mcomp soy_planted public_employment, ro
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque mcomp soy_planted public_employment district_magnitude, ro
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque mcomp soy_planted public_employment lockouts, ro

*Table 4
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque soy_planted pctg_output_manuf pctg_output_service public_employment district_magnitude, ro
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque soy_planted pctg_output_service pctg_output_agr public_employment district_magnitude, ro
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque soy_planted pctg_emp_manuf pctg_emp_service public_employment district_magnitude, ro
probit vote125dum FPV_bloque Aliado_bloque RadicalK_bloque soy_planted pctg_emp_service pctg_emp_agr public_employment district_magnitude, ro
  
 
*Table 5
probit afjp FPV_bloque mcomp soy_planted public_employment district_magnitude, ro

*Table A.2.2
probit vote125dum FPV_bloque soy_planted mcomp district_magnitude public_employment, ro 
probit vote125dum FPV_bloque##c.soy_planted mcomp district_magnitude public_employment, ro 
